<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    <!--<div class="form-group">-->
        <!--<label for="c-cate_id" class="control-label col-xs-12 col-sm-2">{:__('Product')}:</label>-->
        <!--<div class="col-xs-12 col-sm-8">-->
            <!--{:build_selectpages('row[pro_id]',"","store/store/ProductSelect", "title","id")}-->
        <!--</div>-->
    <!--</div>-->
    <div class="form-group">
        <label for="c-title" class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-title" data-rule="required" class="form-control" name="row[name]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label for="c-en_name" class="control-label col-xs-12 col-sm-2">{:__('Name')}(英文):</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-en_name" data-rule="required" class="form-control" name="row[en_name]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label for="c-image" class="control-label col-xs-12 col-sm-2">{:__('Image')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:build_image('image',"",['name'=>"row[image]",'msg_tip'=>"上传尺寸：200px * 200px"])}
        </div>
    </div>
    <div class="form-group weigh">
        <label for="c-weigh" class="control-label col-xs-12 col-sm-2">{:__('Weigh')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-weigh" data-rule="required" class="form-control" name="row[weigh]" type="text" value="1">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Is show')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:build_radios('row[is_show]', [ '1'=>__('Is show true'), '0'=>__('Is show false') ], 0)}
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <input type="hidden" name="row[uid]" value="0" />
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed btn-reset">{:__('Reset')}</button>
        </div>
    </div>
</form>